<?php
/**
 * Created by PhpStorm.
 * User: jack Wang
 * Date: 2021/11/13
 * Time: 16:40
 */

class League extends Base_Controller
{
    public function __construct()
    {
        parent::__construct();
        $this->load->service('League_service');
    }

    //活动首页
    public function index()
    {
        $data = $this->input->post();
        if (empty($data['uid'])) {
            fail('用户id不能为空');
        }
        $data = $this->League_service->LeagueIndex();
        success($data);
    }
}